import mixpanel

class MixpanelTracker:
    def __init__(self, token):
        self.client = mixpanel.Mixpanel(token)

    def track_event(self, event_name, properties):
        self.client.track(event_name, properties)